# Fail to boot device from SD flashed with rk3399-eflasher-buildroot-20230314.img.gz



In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
no stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x10006281, stride = 0x17
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 337
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=61056MB
FwPartOffset=2000 , 0
run on sd0
StorageInit ok = 383382
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3335db8 signature is wrong
recovery gpt...
GPT part:  0, name:         security, start:0x2000, size:0x2000
GPT part:  1, name:          uboot_a, start:0x4000, size:0x2000
GPT part:  2, name:          uboot_b, start:0x6000, size:0x2000
GPT part:  3, name:          trust_a, start:0x8000, size:0x2000
GPT part:  4, name:          trust_b, start:0xa000, size:0x2000
GPT part:  5, name:             misc, start:0xc000, size:0x2000
GPT part:  6, name:           dtbo_a, start:0xe000, size:0x2000
GPT part:  7, name:           dtbo_b, start:0x10000, size:0x2000
GPT part:  8, name:         vbmeta_a, start:0x12000, size:0x1000
GPT part:  9, name:         vbmeta_b, start:0x13000, size:0x1000
GPT part: 10, name:           boot_a, start:0x14000, size:0x20000
GPT part: 11, name:           boot_b, start:0x34000, size:0x20000
GPT part: 12, name:           backup, start:0x54000, size:0x40000
GPT part: 13, name:            cache, start:0x94000, size:0x40000
GPT part: 14, name:         metadata, start:0xd4000, size:0x8000
GPT part: 15, name:    baseparameter, start:0xdc000, size:0x2000
GPT part: 16, name:            super, start:0xde000, size:0x800000
GPT part: 17, name:         userdata, start:0x8de000, size:0x1430a6d
recovery gpt success!
find part:misc OK. first_lba:0xc000.
Magic is incorrect.
Error validating A/B metadata from disk.
find part:misc OK. first_lba:0xc000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
find part:trust_a OK. first_lba:0x8000.
find part:uboot_a OK. first_lba:0x4000.
Trust Addr:0x8000, 0x0
Addr:0x8000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _a.
find part:trust_b OK. first_lba:0xa000.
find part:uboot_b OK. first_lba:0x6000.
Trust Addr:0xa000, 0x45435352
Addr:0xa000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _b.
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:             dtbo, start:0xa000, size:0x2000
GPT part:  4, name:         resource, start:0xc000, size:0x8000
GPT part:  5, name:           kernel, start:0x14000, size:0x14000
GPT part:  6, name:             boot, start:0x28000, size:0x18000
GPT part:  7, name:           rootfs, start:0x40000, size:0x11e000
GPT part:  8, name:         userdata, start:0x15e000, size:0x1bc0fdf
find part:misc OK. first_lba:0x8000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
no find partition:trust_a.
No find Partition name:trust.
Error verifying slot _a.
no find partition:trust_b.
No find Partition name:trust.
Error verifying slot _b.






In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
no stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x10006281, stride = 0x17
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 337
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=61056MB
FwPartOffset=2000 , 0
run on sd0
StorageInit ok = 383382
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3335db8 signature is wrong
recovery gpt...
GPT part:  0, name:         security, start:0x2000, size:0x2000
GPT part:  1, name:          uboot_a, start:0x4000, size:0x2000
GPT part:  2, name:          uboot_b, start:0x6000, size:0x2000
GPT part:  3, name:          trust_a, start:0x8000, size:0x2000
GPT part:  4, name:          trust_b, start:0xa000, size:0x2000
GPT part:  5, name:             misc, start:0xc000, size:0x2000
GPT part:  6, name:           dtbo_a, start:0xe000, size:0x2000
GPT part:  7, name:           dtbo_b, start:0x10000, size:0x2000
GPT part:  8, name:         vbmeta_a, start:0x12000, size:0x1000
GPT part:  9, name:         vbmeta_b, start:0x13000, size:0x1000
GPT part: 10, name:           boot_a, start:0x14000, size:0x20000
GPT part: 11, name:           boot_b, start:0x34000, size:0x20000
GPT part: 12, name:           backup, start:0x54000, size:0x40000
GPT part: 13, name:            cache, start:0x94000, size:0x40000
GPT part: 14, name:         metadata, start:0xd4000, size:0x8000
GPT part: 15, name:    baseparameter, start:0xdc000, size:0x2000
GPT part: 16, name:            super, start:0xde000, size:0x800000
GPT part: 17, name:         userdata, start:0x8de000, size:0x1430a6d
recovery gpt success!
find part:misc OK. first_lba:0xc000.
Magic is incorrect.
Error validating A/B metadata from disk.
find part:misc OK. first_lba:0xc000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
find part:trust_a OK. first_lba:0x8000.
find part:uboot_a OK. first_lba:0x4000.
Trust Addr:0x8000, 0x0
Addr:0x8000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _a.
find part:trust_b OK. first_lba:0xa000.
find part:uboot_b OK. first_lba:0x6000.
Trust Addr:0xa000, 0x45435352
Addr:0xa000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _b.
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:             dtbo, start:0xa000, size:0x2000
GPT part:  4, name:         resource, start:0xc000, size:0x8000
GPT part:  5, name:           kernel, start:0x14000, size:0x14000
GPT part:  6, name:             boot, start:0x28000, size:0x18000
GPT part:  7, name:           rootfs, start:0x40000, size:0x11e000
GPT part:  8, name:         userdata, start:0x15e000, size:0x1bc0fdf
find part:misc OK. first_lba:0x8000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
no find partition:trust_a.
No find Partition name:trust.
Error verifying slot _a.
no find partition:trust_b.
No find Partition name:trust.
Error verifying slot _b.







In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
no stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x10006281, stride = 0x17
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 338
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=61056MB
FwPartOffset=2000 , 0
run on sd0
StorageInit ok = 380415
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:         security, start:0x2000, size:0x2000
GPT part:  1, name:          uboot_a, start:0x4000, size:0x2000
GPT part:  2, name:          uboot_b, start:0x6000, size:0x2000
GPT part:  3, name:          trust_a, start:0x8000, size:0x2000
GPT part:  4, name:          trust_b, start:0xa000, size:0x2000
GPT part:  5, name:             misc, start:0xc000, size:0x2000
GPT part:  6, name:           dtbo_a, start:0xe000, size:0x2000
GPT part:  7, name:           dtbo_b, start:0x10000, size:0x2000
GPT part:  8, name:         vbmeta_a, start:0x12000, size:0x1000
GPT part:  9, name:         vbmeta_b, start:0x13000, size:0x1000
GPT part: 10, name:           boot_a, start:0x14000, size:0x20000
GPT part: 11, name:           boot_b, start:0x34000, size:0x20000
GPT part: 12, name:           backup, start:0x54000, size:0x40000
GPT part: 13, name:            cache, start:0x94000, size:0x40000
GPT part: 14, name:         metadata, start:0xd4000, size:0x8000
GPT part: 15, name:    baseparameter, start:0xdc000, size:0x2000
GPT part: 16, name:            super, start:0xde000, size:0x800000
GPT part: 17, name:         userdata, start:0x8de000, size:0x1430a6d
find part:misc OK. first_lba:0xc000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
find part:trust_a OK. first_lba:0x8000.
find part:uboot_a OK. first_lba:0x4000.
Trust Addr:0x8000, 0x0
Addr:0x8000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _a.
find part:trust_b OK. first_lba:0xa000.
find part:uboot_b OK. first_lba:0x6000.
Trust Addr:0xa000, 0x45435352
Addr:0xa000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _b.
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:             dtbo, start:0xa000, size:0x2000
GPT part:  4, name:         resource, start:0xc000, size:0x8000
GPT part:  5, name:           kernel, start:0x14000, size:0x14000
GPT part:  6, name:             boot, start:0x28000, size:0x18000
GPT part:  7, name:           rootfs, start:0x40000, size:0x118000
GPT part:  8, name:         userdata, start:0x158000, size:0x1bc6fdf
find part:misc OK. first_lba:0x8000.
Magic is incorrect.
Error validating A/B metadata from disk.
find part:misc OK. first_lba:0x8000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
no find partition:trust_a.
No find Partition name:trust.
Error verifying slot _a.
no find partition:trust_b.
No find Partition name:trust.
Error verifying slot _b.




# second NEO4, same problem

DDR Version 1.24 20191016
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
no stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x10006281, stride = 0x17
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 338
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=61056MB
FwPartOffset=2000 , 0
run on sd0
StorageInit ok = 379618
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:         security, start:0x2000, size:0x2000
GPT part:  1, name:          uboot_a, start:0x4000, size:0x2000
GPT part:  2, name:          uboot_b, start:0x6000, size:0x2000
GPT part:  3, name:          trust_a, start:0x8000, size:0x2000
GPT part:  4, name:          trust_b, start:0xa000, size:0x2000
GPT part:  5, name:             misc, start:0xc000, size:0x2000
GPT part:  6, name:           dtbo_a, start:0xe000, size:0x2000
GPT part:  7, name:           dtbo_b, start:0x10000, size:0x2000
GPT part:  8, name:         vbmeta_a, start:0x12000, size:0x1000
GPT part:  9, name:         vbmeta_b, start:0x13000, size:0x1000
GPT part: 10, name:           boot_a, start:0x14000, size:0x20000
GPT part: 11, name:           boot_b, start:0x34000, size:0x20000
GPT part: 12, name:           backup, start:0x54000, size:0x40000
GPT part: 13, name:            cache, start:0x94000, size:0x40000
GPT part: 14, name:         metadata, start:0xd4000, size:0x8000
GPT part: 15, name:    baseparameter, start:0xdc000, size:0x2000
GPT part: 16, name:            super, start:0xde000, size:0x800000
GPT part: 17, name:         userdata, start:0x8de000, size:0x1430a6d
find part:misc OK. first_lba:0xc000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
find part:trust_a OK. first_lba:0x8000.
find part:uboot_a OK. first_lba:0x4000.
Trust Addr:0x8000, 0x0
Addr:0x8000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _a.
find part:trust_b OK. first_lba:0xa000.
find part:uboot_b OK. first_lba:0x6000.
Trust Addr:0xa000, 0x45435352
Addr:0xa000 No find trust.img!
LoadTrustBL error:-3
Error verifying slot _b.
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:             dtbo, start:0xa000, size:0x2000
GPT part:  4, name:         resource, start:0xc000, size:0x8000
GPT part:  5, name:           kernel, start:0x14000, size:0x14000
GPT part:  6, name:             boot, start:0x28000, size:0x18000
GPT part:  7, name:           rootfs, start:0x40000, size:0x260000
GPT part:  8, name:         userdata, start:0x2a0000, size:0x1a7efdf
find part:misc OK. first_lba:0x8000.
slot priority:15, tries_remaining:7, successful_boot:0
slot priority:14, tries_remaining:7, successful_boot:0
no find partition:trust_a.
No find Partition name:trust.
Error verifying slot _a.
no find partition:trust_b.
No find Partition name:trust.
Error verifying slot _b.






